package com.sca.common.netty.config;


import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * Netty自动配置
 */
@Configuration
@ComponentScan("com.sca.common.netty")
@EnableConfigurationProperties(NettyProperties.class)
@ConditionalOnProperty(prefix = "mask.netty", name = "enabled", havingValue = "true", matchIfMissing = true)
public class NettyAutoConfiguration {
}